

$(function () {
    // console.log(1);
    function tubiaocaidan() {
        $.ajax({
            url: "http://157.122.54.189:9067/api/getindexmenu",

            success: function (res) {
                // console.log(res);
                let htmlSte = template('icnonnews', res)
                $('.iconList').html(htmlSte)
            }
        });
    }
    tubiaocaidan()

    function chaozhiduo() {
        $.ajax({

            url: 'http://157.122.54.189:9067/api/getmoneyctrl',


            success: function (res) {
                console.log(res);
                let htmlSte = template('chaoduoList', res)
                $('.chaoList').html(htmlSte)
            }
        });
    }
    chaozhiduo()
})